package com.xingchi.tornado.dict.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 *  视图对象
 * </p>
 *
 * @author xingchi
 * @date 2025-05-27 15:24
 */
@Data
@Schema(name = "DictGroupVO", description = "视图对象")
public class DictGroupVO {

    /**
     * id
     */
    @Schema(description = "")
    private Long id;

    /**
     * 分组code
     */
    @Schema(description = "分组code")
    private String code;

    /**
     * 分组名称
     */
    @Schema(description = "分组名称")
    private String name;

    /**
     * 分组描述
     */
    @Schema(description = "分组描述")
    private String desc;

    /**
     * 排序
     */
    @Schema(description = "排序")
    private Integer sort;

    /**
     * 字典来源1、枚举扫描; 2、系统添加
     */
    @Schema(description = "字典来源1、枚举扫描; 2、系统添加")
    private Integer source;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}
